package com.hb.core.pojo.project.notice.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel(value = "NoticeListVo", description = "招标人公告列表vo")
public class NoticeListVo implements Serializable {
    @ApiModelProperty(value = "公告id")
    private Long id;

    @ApiModelProperty(value = "公告性质 1.首次公告 2 变更公告 3.延期公告 4 补充 5 终止 6 再次 7 最高限价公告 8 流标公示")
    private Integer noticeNature;

    @ApiModelProperty(value = "公告性质名")
    private String noticeNatureName;

    @ApiModelProperty(value = "关联标段数")
    private String sectionNum;

    @ApiModelProperty(value = "公告发布状态 1 已发布 2 未发布 3已锁定 4已保存")
    private Integer deployStatus;

    @ApiModelProperty(value = "公告发布状态名")
    private String deployStatusName;

    @ApiModelProperty(value = "公告发布时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operationTime;
}
